/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dom;

import dom.command.Command;

/**
 * A invoker has a list of
 * commands which he can order
 * to execute in a specific order
 * @author julian.pena
 */
public interface Invoker {
    
    public void addCommand(Command command);
    
    public void executeNext();
    
    public void executeAll();
    
}
